package com.mis.clothespos.shiro.Role.domain;

import com.mis.clothespos.shiro.permission.domain.Permission;
import com.mis.clothespos.shiro.user.domain.User;

import java.util.List;

public class Role {

    private  Integer id;
    private  String description;
    private String roleKey;
    private List<User> userList;

    public String getRoleKey() {
        return roleKey;
    }

    public void setRoleKey(String roleKey) {
        this.roleKey = roleKey;
    }



    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public List<User> getUserList() {
        return userList;
    }

    public void setUserList(List<User> userList) {
        this.userList = userList;
    }

    public List<Permission> getPermissionLIst() {
        return permissionLIst;
    }

    public void setPermissionLIst(List<Permission> permissionLIst) {
        this.permissionLIst = permissionLIst;
    }

    private List<Permission> permissionLIst;
}
